package org.yuanqiframework.yuanqi.boot.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.yuanqiframework.yuanqi.boot.sys.entity.SysUrl;
import org.yuanqiframework.yuanqi.boot.sys.mapper.SysUrlMapper;
import org.yuanqiframework.yuanqi.boot.sys.service.SysUrlService;
import org.yuanqiframework.yuanqi.boot.sys.vo.SysUrlVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author cbt28
 * @description 针对表【sys_url】的数据库操作Service实现
 * @createDate 2025-08-18 01:29:50
 */
@Service
public class SysUrlServiceImpl extends ServiceImpl<SysUrlMapper, SysUrl>
        implements SysUrlService {
    @Resource
    private SysUrlMapper sysUrlMapper;

    @Override
    public int removeAll() {
        return sysUrlMapper.removeAll();
    }

    @Override
    public List<SysUrlVO> getAll(String keyword) {
        return sysUrlMapper.getAll(keyword);
    }
}




